/*
 * @Description: 
 * @Date: 2020-12-21 15:06:07
 * @LastEditors: lother
 * @LastEditTime: 2020-12-21 16:28:41
 * @FilePath: \AccountOpening-H5\src\utils\auth.js
 */

const TokenKey = 'token'

export function getToken() {
  return localStorage.getItem(TokenKey)
}

export function setToken(token) {
  return localStorage.setItem(TokenKey, token)
}

export function removeToken() {
  return localStorage.removeItem(TokenKey)
}
